package com.palace.saw.module.app.controller.admin.banner.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.palace.saw.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.palace.saw.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - Banner 广告位分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BannerPageReqVO extends PageParam {

    @Schema(description = "Banner 标题")
    private String title;

    @Schema(description = "图片 URL", example = "https://www.iocoder.cn")
    private String picUrl;

    @Schema(description = "跳转地址", example = "https://www.iocoder.cn")
    private String url;

    @Schema(description = "活动状态", example = "1")
    private Integer status;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "位置")
    private Integer position;

    @Schema(description = "描述", example = "你说的对")
    private String memo;

    @Schema(description = "Banner 点击次数", example = "5285")
    private Integer browseCount;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}